package poker;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;

import boostarter.Bootstarter;

public class InputButtonBS extends JButton implements ActionListener {

	private Bootstarter bs;
	static final long serialVersionUID = 666999666;
			
	public InputButtonBS(Bootstarter bs, String str) {
		super(str);
		addActionListener(this);
		this.bs = bs;
	}
	
	@Override
	public void actionPerformed(ActionEvent e) {
		bs.checkInput();
	}

}
